package com.isoftstone.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.isoftstone.entity.Users;

public interface UserDao {
	public List<Users> getAllUserList();
	
	public boolean insertUser(Users users);
	
	public boolean insertUserRole(@Param("user_id")String user_Id,@Param("role_id")String roleId);

	public boolean deleteUser(@Param("user_id")String user_id);

	public boolean deleteUserRole(@Param("user_id")String user_id);

	public Users getUserByUserName(@Param("user_id")String user_id);

	public boolean editUser(Users users);
	
	public boolean editUserRole(@Param("user_id")String user_id,@Param("role_id")String role_id);


}
